
			<div class="block">
			
				<div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
					
					<h2>所有文章</h2>
					
					<ul>
						<li><a href="#"></a></li>
						<li><a href="#">添加文章</a></li>
					</ul>
				</div>		<!-- .block_head ends -->

				<div class="block_content">
				
					<form action="" method="post">
					
						<table cellpadding="0" cellspacing="0" width="100%" class="sortable">
						
							<thead>
								<tr>
									<th width="10"><input type="checkbox" class="check_all" /></th>
									<th>ID</th>
									<th style="width:600px;">文章标题</th>
									<th style="width:100px;">分类</th>								
									<th>状态</th>
									<th style="width:100px;">作者</th>
									<th>日期</th>
									<th>Action</th>
								</tr>
							</thead>
							
							<tbody>
							<?php  if(isset($list) && is_array($list)): foreach($list as $row): ?>
								<tr>
									<td><input type="checkbox" /></td>
									<td><a href="#"><?php echo $row['id'];?></a></td>
									<td><a href="#"><?php echo $row['title'];?></a></td>
									<td><?php echo $row['category'];?></td>									
									<td><?php echo $row['status'];?></td>
									<td><a href="#"><?php echo $row['author'];?></a></td>
									<td><?php echo $row['post_date'];?></td>
									<td class="delete">
										<a href="<?php echo url('spider/spider.php?mod=posts&act=edit&id='.$row['id']);?>">Edit</a>
										<a href="<?php echo url('spider/spider.php?mod=posts&act=del&id='.$row['id']);?>">Delete</a>
										</td>
								</tr>
							<?php endforeach; endif;?>	
							</tbody>
							
						</table>
						
						
						
						<div class="tableactions">
							<select>
								<option>Actions</option>
								<option>Delete</option>
								<option>Edit</option>
							</select>
							
							<input type="submit" class="submit tiny" value="Apply to selected" />
						</div>		<!-- .tableactions ends -->
						
						
						
						<div class="pagination right">
							<a href="#">&laquo;</a>
							<a href="#" class="active">1</a>
							<a href="#">2</a>
							<a href="#">3</a>
							<a href="#">4</a>
							<a href="#">5</a>
							<a href="#">6</a>
							<a href="#">&raquo;</a>
						</div>		<!-- .pagination ends -->
						
					</form>
					
				</div>		<!-- .block_content ends -->
				
				<div class="bendl"></div>
				<div class="bendr"></div>
			</div>		<!-- .block ends -->